﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AnesSystem.Controls
{
    /// <summary>
    /// 下拉框的数组内容为无和有
    /// </summary>
    public partial class CustomComXiaoHuaXiTongCtrl : BaseDropDownCtrl
    {
        public CustomComXiaoHuaXiTongCtrl()
        {
            InitializeComponent();
            InitialXiaoHuanXiTong();
            TextAlignment = TextAlignment.Left;
        }
        public TextAlignment TextAlignment
        {
            get { return _xhaxtCmp._txtName._txt.TextAlignment; }
            set { _xhaxtCmp._txtName._txt.TextAlignment = value; }
        }
        private void InitialXiaoHuanXiTong()
        {
            List<CommonComboboxItemModel> list = new List<CommonComboboxItemModel>()
            {
               new CommonComboboxItemModel() { Behind="",Display=""},
                new CommonComboboxItemModel() { Behind="-1",Display= "无特殊" },
                new CommonComboboxItemModel() { Behind="皮肤黏膜黄染",Display="皮肤黏膜黄染"},
                new CommonComboboxItemModel() { Behind="腹部膨隆",Display="腹部膨隆"},
                new CommonComboboxItemModel() { Behind="腹部包块",Display="腹部包块"},
                new CommonComboboxItemModel() { Behind="腹部压缩",Display="腹部压缩"},
                new CommonComboboxItemModel() { Behind="腹肌紧张",Display="腹肌紧张"},
               new CommonComboboxItemModel() { Behind="肠鸣音亢进",Display= "肠鸣音亢进"},
                new CommonComboboxItemModel() { Behind="肠鸣音消失",Display="肠鸣音消失"},


            };
            this._xhaxtCmp.ItemsSource = list;

        }

    }
}
